package cn.pku.eecs.ldn.activity;

import cn.pku.eecs.ldn.R;
import cn.pku.eecs.ldn.util.ImageUtil;
import cn.pku.eecs.ldn.view.SelectImagesGridView;
import cn.pku.eecs.ldn.view.ZoomImageView;
import cn.pku.eecs.ldn.view.gallery.GalleryView;
import android.app.Activity;
import android.app.ProgressDialog;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Toast;

public class TestSelectImagesGridViewActivity extends Activity {

	GalleryView zoomImageView = null;
	ProgressDialog progressDialog = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_test_select_images_gridview);
		View button = findViewById(R.id.buttonTest);
		final SelectImagesGridView selectImagesGridView = (SelectImagesGridView) findViewById(R.id.selectImagesGridView);
		button.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Log.d("LDN", "onClick()");
				selectImagesGridView.test();
			}
		});
	}
}